(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[37],{

/***/ "./src/views/flowable/modules/design/modules/right/config/common.js":
/*!**************************************************************************!*\
  !*** ./src/views/flowable/modules/design/modules/right/config/common.js ***!
  \**************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* @Descripttion:
   @Version: 1.0
   @Author: wfz
   @Date: 2023-07-19 17:56:06
   @LastEditors: wfz
   @LastEditTime: 2023-07-20 18:47:07 */
/* harmony default export */ __webpack_exports__["default"] = ({
  defaultParams: {
    nodeName: '',
    type: '',
    "classPath": "",
    //jar包路径
    "waitSecond": 2 //该节点执行后的等待时间
  },

  getParamsData: function getParamsData(item) {
    return Object.assign(this.defaultParams, item || {});
  },
  /**
   * @description: 获取配置面板信息
   * @author: wufz
   * @param {*} item 节点的configParams
   * @return {*}
   */
  getConfigData: function getConfigData(item) {
    return {
      setting: {
        type: 'dcbTabs',
        attrs: {
          value: '基础信息'
        },
        children: {
          baseInfo: {
            type: 'dcbTabsPanel',
            props: {
              tab: '基础信息',
              key: '基础信息'
            },
            children: {
              nodeType: {
                type: 'dcbInput',
                attrs: {
                  value: item.type,
                  title: '节点类型'
                },
                props: {
                  type: 'text',
                  disabled: true
                }
              },
              nodeName: {
                type: 'dcbInput',
                attrs: {
                  value: item.nodeName,
                  title: '节点名称'
                },
                props: {
                  type: 'text',
                  placeholder: '请输入节点名称'
                },
                events: {
                  blur: 'setCellName'
                }
              },
              waitSecond: {
                type: 'dcbInput',
                attrs: {
                  value: item.waitSecond,
                  title: '等待时间'
                },
                props: {
                  type: 'integer',
                  placeholder: '请输入该节点执行后的等待时间'
                },
                events: {
                  change: 'valueChange'
                }
              }
            }
          }
        }
      }
    };
  }
});

/***/ })

}]);